﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IHISCETeim.DAL;
using IHISCETeim.Model;
using IHISCETeim.Library;
using System.Data;

namespace IHISCETeim.BLL
{
    public class UClaimDemageControlOITMDetailController
    {
        public static bool AddUClaimDemageControlOITMDetail(int UCDCID, List<UClaimDemageControlOITMDetailInfo> list)
        {
            return UClaimDemageControlOITMDetailDAL.AddUClaimDemageControlOITMDetail(UCDCID, list);
        }

        public static bool DeleteByUCDCID(int UCDCID)
        {
            return UClaimDemageControlOITMDetailDAL.DeleteByUCDCID(UCDCID);
        }

        public static List<UClaimDemageControlOITMDetailInfo> GetListByUCDCID(int UCDCID)
        {
            return CBO.FillCollection<UClaimDemageControlOITMDetailInfo>( UClaimDemageControlOITMDetailDAL.GetListByUCDCID(UCDCID));
        }
    }
}
